<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libBigWig: bwDataHeader_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libBigWig
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">bwDataHeader_t Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The header section of a given data block.  
 <a href="structbwDataHeader__t.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="bwValues_8h_source.html">bwValues.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a44b09f0b98af0b93ec4348357ad51d98"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbwDataHeader__t.html#a44b09f0b98af0b93ec4348357ad51d98">tid</a></td></tr>
<tr class="separator:a44b09f0b98af0b93ec4348357ad51d98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9a3b29aff03cece0896d7f76f68f8c5"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbwDataHeader__t.html#ac9a3b29aff03cece0896d7f76f68f8c5">start</a></td></tr>
<tr class="separator:ac9a3b29aff03cece0896d7f76f68f8c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4512ac08141a2f5634c4b3e0dea27f1b"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbwDataHeader__t.html#a4512ac08141a2f5634c4b3e0dea27f1b">end</a></td></tr>
<tr class="separator:a4512ac08141a2f5634c4b3e0dea27f1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e94aba6b9fcd5e95e8661b2e149ccd1"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbwDataHeader__t.html#a3e94aba6b9fcd5e95e8661b2e149ccd1">step</a></td></tr>
<tr class="separator:a3e94aba6b9fcd5e95e8661b2e149ccd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad702b73bfd38ad0c0e7ae69b02e2d9b8"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbwDataHeader__t.html#ad702b73bfd38ad0c0e7ae69b02e2d9b8">span</a></td></tr>
<tr class="separator:ad702b73bfd38ad0c0e7ae69b02e2d9b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77294dce47a8154444baf1a1a1321af4"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbwDataHeader__t.html#a77294dce47a8154444baf1a1a1321af4">type</a></td></tr>
<tr class="separator:a77294dce47a8154444baf1a1a1321af4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab11457644d7f5c3590eebeb2696e389c"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbwDataHeader__t.html#ab11457644d7f5c3590eebeb2696e389c">nItems</a></td></tr>
<tr class="separator:ab11457644d7f5c3590eebeb2696e389c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The header section of a given data block. </p>
<p>There are 3 types of data blocks in bigWig files, each with slightly different needs. This is all taken care of internally. </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a4512ac08141a2f5634c4b3e0dea27f1b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4512ac08141a2f5634c4b3e0dea27f1b">&#9670;&nbsp;</a></span>end</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t bwDataHeader_t::end</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The end position of a block </p>

</div>
</div>
<a id="ab11457644d7f5c3590eebeb2696e389c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab11457644d7f5c3590eebeb2696e389c">&#9670;&nbsp;</a></span>nItems</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t bwDataHeader_t::nItems</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The number of values in a given block. </p>

</div>
</div>
<a id="ad702b73bfd38ad0c0e7ae69b02e2d9b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad702b73bfd38ad0c0e7ae69b02e2d9b8">&#9670;&nbsp;</a></span>span</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t bwDataHeader_t::span</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The span of each data value </p>

</div>
</div>
<a id="ac9a3b29aff03cece0896d7f76f68f8c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9a3b29aff03cece0896d7f76f68f8c5">&#9670;&nbsp;</a></span>start</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t bwDataHeader_t::start</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The start position of a block </p>

</div>
</div>
<a id="a3e94aba6b9fcd5e95e8661b2e149ccd1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e94aba6b9fcd5e95e8661b2e149ccd1">&#9670;&nbsp;</a></span>step</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t bwDataHeader_t::step</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The step size of the values </p>

</div>
</div>
<a id="a44b09f0b98af0b93ec4348357ad51d98"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44b09f0b98af0b93ec4348357ad51d98">&#9670;&nbsp;</a></span>tid</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t bwDataHeader_t::tid</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The chromosome ID. </p>

</div>
</div>
<a id="a77294dce47a8154444baf1a1a1321af4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77294dce47a8154444baf1a1a1321af4">&#9670;&nbsp;</a></span>type</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t bwDataHeader_t::type</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The block type: 1, bedGraph; 2, variable step; 3, fixed step. </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="bwValues_8h_source.html">bwValues.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Nov 8 2020 13:48:36 for libBigWig by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
